package cn.com.infosec.ra.util;

import org.springframework.context.ApplicationContext;

public class Const {
	public static final String SESSION_SECURITY_CODE = "sessionSecCode";
	public static final String SESSION_USER = "sessionUser";
	public static final String SESSION_USER_RIGHTS = "sessionUserRights";
	public static final String SESSION_ROLE_RIGHTS = "sessionRoleRights";
	public static final String NO_INTERCEPTOR_PATH = ".*/((login)|(logout)).*";	
	public static ApplicationContext WEB_APP_CONTEXT = null; 
	public static final int RETRYC_COUNT = 6;
	public static final String DATASOURCE = "dataSource";
	
	public static final String PERCERT_REQUEST = "perCertRequest";
	public static final String PERCERT_REQUESTANDDOWN = "perCertRequestAndDown";
	public static final String ENTCERT_REQUEST = "entCertRequest"; 
	public static final String ENTCERT_REQUESTANDDOWN = "entCertRequestAndDown"; 
	
	public static final String PERCERT_UPDATE = "perCertUpdate";
	public static final String PERCERT_UPDATEANDDOWN = "perCertUpdateAndDown"; 
	public static final String ENTCERT_UPDATE = "entCertUpdate";
	public static final String ENTCERT_UPDATEANDDOWN = "entCertUpdateAndDown";
	
	public static final String PERCERT_REPLACE = "perCertReplace";
	public static final String PERCERT_REPLACEANDDOWN = "perCertReplaceAndDown";
	public static final String ENTCERT_REPLACE = "entCertReplace";
	public static final String ENTCERT_REPLACEANDDOWN = "entCertReplaceAndDown";
	
	public static final String PERCERT_FREEZE  = "perCertFreeze";
	public static final String ENTCERT_FREEZE = "entCertFreeze";
	public static final String PERCERT_UNFREEZE = "perCertUnfreeze";
	public static final String ENTCERT_UNFREEZE = "entCertUnfreeze";
	
	public static final String PERCERT_REVOKE = "perCertRevoke";
	public static final String ENTCERT_REVOKE = "entCertRevoke";
	
	public static final String PERCERT_QUERY = "perCertQuery";
	public static final String ENTCERT_QUERY = "entCertQuery";
	
	public static final String PERINFOCERT_QUERY = "perInfoCertQuery";
	public static final String ENTINFOCERT_QUERY = "entInfoCertQuery";
	
	public static final String DOWNLOAD_CERT = "downloadCert";
	
	public static final String APPLY = "apply";
	public static final String UPDATE = "update";
	public static final String REPLACE = "replace";
	public static final String FREEZE = "freeze";
	public static final String UNFREEZE = "unfreeze";
	public static final String REVOKE = "revoke";
	public static final String REAPPLE = "reapply";
}
